package cn.keniykey.mc.viewlibrary.packet.api;

public final class PacketWindowClick extends AbWindowPacket{
	private final int button,slot;
	private final Object mode;
	
	public PacketWindowClick(int windowid,Object mode1,int button1,int slot1) {
		super(windowid);
		this.mode = mode1;
		this.button = button1;
		this.slot = slot1;
	}
	public PacketWindowClick(Object mode1,int button1,int slot1) {
		this.mode = mode1;
		this.button = button1;
		this.slot = slot1;
	}
	
	public Object getMode() {
		return this.mode;
	}
	public int getButton() {
		return this.button;
	}
	public int getSlot() {
		return this.slot;
	}
}